ButtonClose SUB Action Erases the specified button from the current window and deletes it from the global arrays. Syntax ButtonClose handle% Remarks The ButtonClose procedure is used to close individual buttons that have been opened with ButtonOpen. The argument handle% is an integer that indicates the number of the button being closed. This can be any number between 0 and the value declared in the constant MAXBUTTON, inclusive. If handle% is 0, all buttons in the current window are closed. If the WindowClose procedure is used to close a window that contains buttons, you need not use this procedure, because all buttons associated with a closing window are closed automatically. See Also. ButtonOpen, WindowClose